package com.itheima.service.db.impl;

import com.itheima.domain.UmsRole;
import com.itheima.mapper.UmsRoleMapper;
import com.itheima.service.db.UmsRoleService;
import org.apache.dubbo.config.annotation.DubboService;
import org.springframework.beans.factory.annotation.Autowired;

@DubboService
public class UmsRoleServiceImpl implements UmsRoleService {

    @Autowired
    UmsRoleMapper umsRoleMapper;

    @Override
    public UmsRole findById(Long roleId) {
        return umsRoleMapper.selectById(roleId);
    }
}
